package com.yegs.quartz.service;

import com.yegs.quartz.mysqlEntity.User;
import com.yegs.quartz.sqlServerEntity.Student;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface UserService {

    public List<User> findAll();

    public List<Student> findAllStudent();

    @Transactional(rollbackFor = Exception.class)
    public void userToStudent();
}
